//
//  BaseModule.m
//  RCTBaiduMap
//
//  Created by lovebing on 2016/10/28.
//  Copyright © 2016年 lovebing.org. All rights reserved.
//

#import "BaseModule.h"

@implementation BaseModule

RCT_EXPORT_MODULE();

-(NSMutableDictionary *)getEmptyBody {
    NSMutableDictionary *body = @{}.mutableCopy;
    return body;
}
- (NSArray<NSString *> *)supportedEvents
{
  return @[@"onGetSuggestionResult", @"onGetReverseGeoCodeResult", @"onGetCurrentLocationPosition", @"onLocationUpdate", @"onGetGeoCodeResult" ];
}
-(void)sendEvent:(NSString *)name body:(NSMutableDictionary *)body {
    [self sendEventWithName:name body:body];
}


@end
